package com.molichuxing.gateway.bff.order.entity.request.modify;


import com.molichuxing.framework.dto.RequestRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author: zhaopenghui
 * @Description:
 * @Date: Created in 10:55 2020/3/2
 * @Modified By:
 **/
@Data
public class OrderRenegeCostModifyVo extends RequestRootDto {
    private static final long serialVersionUID = 634481413728599934L;

    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    @NotNull(message = "订单号不能为空")
    private Long orderCode;

    /**
     * 费用类型（1：我司应收，2：我司应付） cost_type
     */
    @ApiModelProperty(value = "费用类型（1：我司应收，2：我司应付）")
    @NotNull(message = "请选择收/付款")
    private Integer costType;

    /**
     * 费用金额 cost_amount
     */
    @ApiModelProperty(value = "费用金额")
    @NotNull(message = "请输入金额")
    private BigDecimal costAmount;
}
